﻿using Vega.USiteBuilder;

namespace Lu.Blog.Domain.Model.DocumentType
{
    [DocumentType(Name = "Base document")]
    public abstract class BaseDocument : DocumentTypeBase
    {
        protected BaseDocument(int nodeId)
            : base(nodeId)
        {
        }

        protected BaseDocument()
        {
        }

        #region Common

        [DocumentTypeProperty(UmbracoPropertyType.Textstring, Name = "Page title", Description = "Define a title.<br/>If no value is set, the default title will be used", Mandatory = false, Tab = "Common informations")]
        public string PageTitle { get; set; }

        #endregion
    }
}
